package com.example.monstercatch;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;

public class MainActivity extends Activity {

	private final String TAG = "Main Activity";
	
	CenaDeJogo cenaDeJogo;
	//MenuView menuView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		MinhasCoisas.setCurrentActivity(this);
		
		cenaDeJogo = new CenaDeJogo(this);
		setContentView(cenaDeJogo);

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}
	
	@Override
	public void onDestroy()
	{
		super.onDestroy();
		this.cenaDeJogo.SetAlive(false);

	}

}
